<!--
 *  Copyright (c) 2005 eRocX Software Group - www.erocx.com
 *
 *  @author     <a href="mailto:eroclu@gmail.com">Andy Lu</a>
 *  @date       10/29/05
-->

<?xml version="1.0" encoding="UTF-8">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="keywords" content="photos, photo, digital photos, prints, pictures, photograph"/>
  <meta name="description" content="Order digital photo prints online at ColorBox"/>
  <title><%= @title %></title>
  <link rel="stylesheet" href="/stylesheets/main.css" type="text/css"/>
</head>
<body>
<table width="750" align="center" cellpadding="0" cellspacing="0" border="0">
  <tr><td colspan="3" height="1"></td></tr>

  <!-- app top links -->
  <tr><td colspan="3">
    <%= render 'top_link' %>
  </td></tr>
  <!-- /app top links -->  
  
  <% if @action_config[:header_partial] == false %>
  <% #leave empty %>
  <!-- app header is empty -->
  <% else %>
  <!-- app header -->
  <tr><td colspan="3">
    <%= render 'header' %>
  </td></tr>
  <!-- /app header -->

  <tr><td colspan="3" height="4"></td></tr>
  <% end %>    
    
  <!-- app content area -->
  <% if @action_config[:left_partial] == false %>
  <tr>
    <td valign="top">
      <%= @content_for_layout %>
    </td>
  </tr>
  <% else %>  

  <tr>
    <td width="190" valign="top">
      <%= render 'left_bar' %>
    </td>

    <td width="8"></td>

    <td width="552" valign="top">
      <%= @content_for_layout %>
    </td>
  </tr>
  <% end %>
  
  <!-- /app content area -->

  <tr><td colspan="3" height="1"></td></tr>
</table>

<!-- app footer -->
<%= render 'footer' %>
<!-- /app footer -->
</body>
</html>